package cn.mux.jdk8.designpatter.decorator;

/**
 * 
 * @Title:  Decorator_first.java   
 * @Package cn.mux.jdk8.designpatter.decorator   
 * @Description:    TODO   
 * @author: 陈成雪     
 * @date:   2017年9月30日 下午3:25:00   
 * @version V1.0
 */
public class Decorator_first extends Decorator{

	public Decorator_first(Human human) {
		super(human);
	}
	
	public void goClothespress() {  
        System.out.println("去衣柜找找看。。");  
    }  
  
    public void findPlaceOnMap() {  
        System.out.println("在Map上找找。。");  
    }  
  
    @Override  
    public void wearClothes() {  
        super.wearClothes();  
        goClothespress();  
    }  
  
    @Override  
    public void walkToWhere() {  
        super.walkToWhere();  
        findPlaceOnMap();  
    }  

}
